home *** CD-ROM | disk | FTP | other *** search
/ PC Home 138 / PC Home issue 138.iso / Software / Essentials / Netscape / nim.xpi / bin / chrome / aim.jar / content / aim / SPBuddyOrgOverlay.xul < prev    next >
Encoding:
Extensible Markup Language  |  2002-10-22  |  10.9 KB  |  257 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://aim/locale/SPBuddyOrgOverlay.dtd">
  4.  
  5. <overlay id="SidebarPanelBuddyOrgOverlay" xmlns:html="http://www.w3.org/1999/xhtml"  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  6.      xmlns:nc="http://home.netscape.com/NC-rdf" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  7.  
  8. <!-- Overlay the key bindings -->
  9. <keyset id="buddyOrgOverlayKeys" >
  10.   <key id="key_addbuddy" key="&spbuddy_addbuddy.key;" oncommand="cmdAddBuddy()" disabled="false"   alt="false" modifiers="accel,shift"/>
  11.   <key id="key_addgroup" key="&spbuddy_addgroup.key;" oncommand="cmdAddGroup()" disabled="false"   alt="false" modifiers="accel,shift"/>
  12.   <key id="key_chat" key="&spbuddy_chat.key;" oncommand="cmdNewChat('',null,'',false,'outgoingchat')" disabled="false"   alt="false" modifiers="accel,shift"/>
  13.   <key id="key_fab" key="&spbuddy_fab.key;"  oncommand="window.openDialog('chrome://aim/content/findAFriendWizard.xul','CPW','chrome,titlebar,resizable=yes,centerscreen')"
  14.        disabled="false"   alt="false" modifiers="accel,shift"/>
  15.   <key id="key_buddyalert" key="&spbuddy_buddyalert.key;" oncommand="cmdBuddyAlert();" disabled="false"   alt="false" modifiers="accel,shift"/>
  16.   <key id="key_import" key="&spbuddy_import.key;"  oncommand="cmdImportBuddyList()" disabled="false"   alt="false" modifiers="accel,shift"/>
  17.   <key id="key_export" key="&spbuddy_export.key;"  oncommand="cmdExportBuddyList()" disabled="false"   alt="false" modifiers="accel,shift"/>
  18.   <key id="key_soaf" key="&spbuddy_soaf.key;" oncommand="window.openDialog('chrome://aim/content/InviteAFriendWizard.xul','CPW','chrome,titlebar,resizable=yes,centerscreen', null)" 
  19.        disabled="false"   alt="false" modifiers="accel,shift"/>
  20.  
  21. </keyset>
  22.  
  23.  
  24.   <!-- Overlay the Buddy Panel (Displayed when Online) -->
  25.   <vbox id="BuddyOrg">
  26.     <hbox id="BuddyOrgButtons">
  27.       <button id="btnbuddyorgsendim" class="aim-button" oncommand="cmdNewIM()" tooltip="aTooltip"  tooltiptext="&tabbtnsendim.tooltip;" 
  28.               icqtooltip="&tabbtnsendim_ICQ.tooltip;" imtooltip="&tabbtnsendim.tooltip;">
  29.       <observes element="sessionWatcher"  attribute="sessionMode" />
  30.       </button>
  31.       <button id="btnbuddyorgchat" class="aim-button Hide-in-Icq" oncommand="cmdNewChatSidebar('',null,'',false,'outgoingchat')" tooltip="aTooltip"
  32.               tooltiptext="&tabbtnchat.tooltip;" >
  33.       <observes element="sessionWatcher"  attribute="sessionMode"/>
  34.       </button>
  35.       <!--button label="&tabbtninfo.label;" id="btnbuddyorginfo" class="aim-button"/-->
  36.     </hbox>
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.     <tree id="OnlineBuddies" flex="1"
  44.               hidecolumnpicker="true"
  45.               sortStaticsLast="true"
  46.               context="context"
  47.               seltype="multiple"
  48.               onselect="onSelectionChange()"
  49.               onclick="if (event.detail == 2) cmdDoubleClick(event);"
  50.               datasources="rdf:AIM" ref="NC:AIM/BuddyList">
  51.  
  52.       <treecols>
  53.         <treecol id="BuddiesCol"
  54.                      flex="1"
  55.                      primary="true"
  56.                      class="inset tabpanel" />
  57.       </treecols>
  58.       <template>
  59.         <rule>
  60.           <conditions>
  61.             <content uri="?uri" />
  62.             <member container="?uri" child="?child" />
  63.             <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#AimType" object="BuddyGroup" />
  64.           </conditions>
  65.  
  66.           <bindings>
  67.             <binding subject="?child"
  68.                      predicate="http://home.netscape.com/NC-rdf#NameWithStatus"
  69.                      object="?NameWithStatus" />
  70.             <binding subject="?child"
  71.                      predicate="http://home.netscape.com/NC-rdf#Name"
  72.                      object="?Name" />
  73.             <binding subject="?child"
  74.                      predicate="http://home.netscape.com/NC-rdf#IcqUser"
  75.                      object="?IcqUser" />
  76.           </bindings>
  77.  
  78.           <action>
  79.             <treechildren>
  80.               <treeitem uri="?child" persist="open">
  81.                 <treerow>
  82.                   <treecell ref="BuddiesCol" properties="buddygroupname buddy-treeitem panel-online treecell-indent buddy-name
  83.                                 Name-?Name IcqUser-?IcqUser" label="?NameWithStatus" />
  84.                 </treerow>
  85.               </treeitem>
  86.             </treechildren>
  87.           </action>
  88.         </rule>
  89.         <rule>
  90.           <conditions>
  91.             <content uri="?uri" />
  92.             <member container="?uri" child="?child" />
  93.             <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#Online" object="true" />
  94.           </conditions>
  95.  
  96.           <bindings>
  97.             <binding subject="?child"
  98.                      predicate="http://home.netscape.com/NC-rdf#NameWithStatus"
  99.                      object="?NameWithStatus" />
  100.  
  101.             <binding subject="?child"
  102.                      predicate="http://home.netscape.com/NC-rdf#BuddyStateString"
  103.                      object="?BuddyStateString" />
  104.  
  105.             <binding subject="?child"
  106.                      predicate="http://home.netscape.com/NC-rdf#ScreenName"
  107.                      object="?ScreenName" />
  108.  
  109.             <binding subject="?child"
  110.                       predicate="http://home.netscape.com/NC-rdf#Name"
  111.                       object="?Name" />
  112.  
  113.             <binding subject="?child"
  114.                       predicate="http://home.netscape.com/NC-rdf#DisplayName"
  115.                       object="?DisplayName" />
  116.             <binding subject="?child"
  117.                      predicate="http://home.netscape.com/NC-rdf#IcqUser"
  118.                      object="?IcqUser" />
  119.  
  120.           </bindings>
  121.  
  122.           <action>
  123.             <treechildren observes="sessionWatcher">
  124.               <treeitem uri="?child">
  125.                 <treerow>
  126.                   <treecell ref="BuddiesCol" properties="BuddyStateString-?BuddyStateString DisplayName-?DisplayName
  127.                                 ScreenName-?ScreenName Name-?Name IcqUser-?IcqUser" label="?NameWithStatus" >
  128.                   </treecell>
  129.                 </treerow>
  130.               </treeitem>
  131.             </treechildren>
  132.           </action>
  133.         </rule>
  134.       </template>
  135.      
  136.       <treechildren  id="AA2" observes="sessionWatcher" tooltip="infoTooltip">
  137.   <!--      <treeitem id="offlineitem" datasources="rdf:AIM" ref="NC:AIM/BuddyList" container="true" persist="open">
  138.           <treerow>
  139.             <treecell ref="BuddiesCol" properties="treecell-indent OfflineItalic" label="&offline.label;" disabled="true"/>
  140.           </treerow>
  141.  
  142.           <template>
  143.             <rule>
  144.               <conditions>
  145.                 <content uri="?uri" />
  146.                 <member container="?uri" child="?child" />
  147.                 <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#AimType" object="BuddyGroup" />
  148.               </conditions>
  149.  
  150.               <bindings>
  151.                 <binding subject="?child"
  152.                          predicate="http://home.netscape.com/NC-rdf#Name"
  153.                          object="?Name" />
  154.               </bindings>
  155.  
  156.               <action>
  157.                 <treechildren>
  158.                   <treeitem uri="?child" persist="open">
  159.                     <treerow>
  160.                       <treecell ref="BuddiesCol" properties="buddy-treeitem panel-online treecell-indent OfflineItalic" label="?Name"/>
  161.                     </treerow>
  162.                   </treeitem>
  163.                 </treechildren>
  164.               </action>
  165.             </rule>
  166.  
  167.             
  168.             <rule>
  169.               <conditions>
  170.                 <content uri="?uri" />
  171.                 <member container="?uri" child="?child" />
  172.                 <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#Online" object="false" />
  173.               </conditions>
  174.  
  175.               <bindings>
  176.                 <binding subject="?child"
  177.                         predicate="http://home.netscape.com/NC-rdf#Name"
  178.                         object="?Name" />
  179.                 <binding subject="?child"
  180.                          predicate="http://home.netscape.com/NC-rdf#ScreenName"
  181.                          object="?ScreenName" />
  182.                 <binding subject="?child"
  183.                          predicate="http://home.netscape.com/NC-rdf#BuddyAlertStateString"
  184.                          object="?BuddyAlertStateString" />
  185.               </bindings>
  186.  
  187.               <action>
  188.                 <treechildren>
  189.                   <treeitem uri="?child">
  190.                     <treerow>
  191.                       <treecell ref="BuddiesCol" properties="buddy-treeitem panel-online treecell-indent buddy-name OfflineItalic
  192.                                     ScreenName-?ScreenName Name-?Name BuddyAlertStateString-?BuddyAlertStateString"
  193.                                     label="?Name"/>
  194.  
  195.                     </treerow>
  196.                   </treeitem>
  197.                 </treechildren>
  198.               </action>
  199.             </rule>
  200.           </template>
  201.  
  202.         </treeitem> 
  203.  
  204.  
  205.      <treechildren observes="sessionWatcher">--> 
  206.         <treeitem id="AuthAwait2" datasources="rdf:AIM" ref="NC:AIM/AuthList" hidden="true" properties="Hide-in-Aim" open="true" container="true" persist="open">
  207.           <treerow>
  208.             <treecell ref="BuddiesCol" properties="Hide-in-Aim treecell-indent authgroup-item buddygroupname" label="&authawait.label;" disabled="true" />
  209.           </treerow>
  210.  
  211.           <template>
  212.             <rule>
  213.               <conditions>
  214.                 <content uri="?uri" />
  215.                 <member container="?uri" child="?child" />
  216.                 <!-- <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#Online" object="false" /> -->
  217.               </conditions>
  218.  
  219.               <bindings>
  220.                 <binding subject="?child"
  221.                          predicate="http://home.netscape.com/NC-rdf#ScreenName"
  222.                          object="?ScreenName" />
  223.                 <binding subject="?child"
  224.                          predicate="http://home.netscape.com/NC-rdf#Name"
  225.                          object="?Name" />
  226.                  <binding subject="?child"
  227.                           predicate="http://home.netscape.com/NC-rdf#AuthAcceptStatus"
  228.                           object="?AuthAcceptStatus" />
  229.               </bindings>
  230.  
  231.               <action>
  232.                 <treechildren>
  233.                   <treeitem uri="?child">
  234.                     <treerow>
  235.                       <treecell ref="BuddiesCol" properties="treecell-indent buddy-name authgroup-item
  236.                                     ScreenName-?ScreenName Name-?Name AuthAcceptStatus-?AuthAcceptStatus"
  237.                                     label="?Name" disabled="true">
  238.                       </treecell>
  239.  
  240.                     </treerow>
  241.                   </treeitem>
  242.                 </treechildren>
  243.               </action>
  244.             </rule>
  245.           </template>
  246.           
  247.  
  248.         </treeitem>
  249.       </treechildren>
  250.  
  251.     </tree>
  252.  
  253.         
  254.  
  255.   </vbox>
  256. </overlay>
  257.